home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: K.Klijnsma@net.HCC.nl (Kelvin Klijnsma)
- Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.lang.c
- Subject: Borland C/C++ 4.02 Executable size [possible repost]
- Date: Fri, 09 Feb 1996 14:00:23 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4ffk0c$6h4@altrade.nijmegen.inter.nl.net>
- Reply-To: K.Klijnsma@net.HCC.nl
- NNTP-Posting-Host: lw99-4.leeuwarden.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- [This message is a repost. My news server seems to have been down on
- 8-2-1996. I'm sorry if you've already read my previous message. Please
- repost any reply you may have sent to my previous message. Thanks!]
-
- Hi,
-
- I really like Borland C++ 4.02 but one thing that's very annoying
- (IMHO) is the minimum size of an executable. At the moment I only do
- some DOS programming, but even the most simple utility will at least
- take about 30K. I know that the compiler links in some startup code
- and some necessary libs, but my question is: is there any way of
- reducing the size of the executable. For instance, in Borland Pascal
- you have smart linking and a simple utility need not be larger than
- say 5K.
- Please note that I'm used to program in TASM, i.e. I'm used to being
- in control of what exactly is linked into the program (I guess that's
- really why the minimum size of 30K bothers me :-).
-
- In short:
-
- - How do I reduce the size of compiled C programs for DOS.
- (And yes, I am aware of executable compressors).
- - I would like a solution that works for all memory models.
- (Except tiny model: this model does indeed allow me to
- produce smaller executables, but I prefer small model).
-
- I appreciate all solutions, suggestions and pointers!
-
- ________________________________________________
- |_ _|
- (__) Kelvin Klijnsma (__)
- (___) K.Klijnsma@net.HCC.nl (___)
- (__) http://www.inter.nl.net/hcc/K.Klijnsma (__)
- |________________________________________________|
-
-